package com.whz.serial;

import lombok.extern.slf4j.Slf4j;

import java.io.*;

/**
 * @ClassName ElvisMainTest
 * @Description TODO
 * @Author hong-zhi
 * @Date 2021/5/27 9:54
 * @Version 1.0
 */
@Slf4j
public class EnumSetMainTest {

    public static void main(String[] args) throws IOException {
        String filePath = "d://enum-set.txt";
        try {
            TransferStream.transfer(filePath, () -> ElvisEnum.INSTANCE);
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
    }
}
